package _1_goodfirst;

public class Test 
{
	public static void main(String[] args) 
	{
		boolean z = false;
		System.out.println(z | z);
		for(int x = 1; x <= 100; x++) 
		{
			if(x == 1)
			{System.out.println(x);}
			else if(x == 2)
			{System.out.println(x);}
			else 
			{
				for(int y = 2; y < x; y++)
				{
					z = (x % y ==0) | z;
					System.out.println(x % y ==0);
				}
				if(z == false) 
				{System.out.println(x);}
				else if(z == true)
				{System.out.println(x + "为非素数");}
				else 
				{System.out.println("error");}
			}
		}
	}
}
